﻿using System;
using System.IO;
using System.Text;
using violentSearcher;
namespace regexSearcher;


class Program
{
    static void Main()
    {
        string pattern = "aa bb cc ** dd";
       ViolentSearcher searcher1 = new ViolentSearcher(pattern);
       RegexSearcher searcher2 = new RegexSearcher(pattern);
        string filePath = "Searcher2.bin";
        searcher1.SearchInStream(filePath);
        searcher2.SearchInStream(filePath);

    }
}